package com.rykj.qxj.server.services;

import java.util.List;
import java.util.Map;

import com.rykj.qxj.server.model.entity.ApiAbilityStatistics;
import com.rykj.qxj.server.common.exception.AppIdIsNullException;
import com.rykj.qxj.server.common.exception.ApiAbilityStaticsticsIsNullException;
import com.rykj.qxj.server.common.exception.ApplyIsNotExistException;


public interface IApiAbilityStatisticsService {
	
	void saveApiAbilityStatistics(ApiAbilityStatistics apiAbilityStatistics) throws ApplyIsNotExistException, AppIdIsNullException, ApiAbilityStaticsticsIsNullException;
	
	 Map<String,Object> selectApiAbilityStatisticsList(String appKey);
	 
	 List<Map<String,Object>> selectApplicationInvocationApiCount(String type );

	 List<Map<String, Object>> selectApiInvocationCountTop5();
	 //List<Map<String, Object>> selectApiInvocationCountTop5(String type);

}
